<template>
  <div class="about">
    <header class="page-header">
      <div class="container">
        <h1>关于我</h1>
        <p>00后码农，热爱前沿AI技术</p>
      </div>
    </header>

    <div class="profile-image-container">
      <img src="@/assets/img/photo.jpg" alt="个人照片" class="profile-image">
    </div>

    <main class="container">
      <div class="about-content">
        <section class="profile">
          <h2>个人简介</h2>
          <p>  我是一名专注于 Python 后端开发 和 人工智能技术 的工程师，擅长构建高效、稳定的后端服务以及设计和实现前沿的 AI 解决方案。在 自然语言处理（NLP） 和 计算机视觉（CV） 领域有丰富的实践经验，能够熟练应用深度学习框架（如 TensorFlow、PyTorch）进行模型开发与优化。同时，我对 大模型（Large Language Models, LLMs） 的训练、微调及部署有深入研究，能够将复杂的 AI 技术落地到实际业务场景中。

此外，我对前端开发框架 Vue.js 有一定了解，能够协作完成全栈项目开发；在后端领域也熟悉 Java 及其生态（如 Spring Boot），具备跨技术栈协作的能力。热爱技术创新，乐于探索新技术并将其应用于解决实际问题，致力于通过技术推动产品和业务的发展。</p>
        </section>

        <section class="skills">
          <h2>技术栈</h2>
          <ul>
            <li>后端开发：精通 Python，熟悉 Django、Flask、FastAPI 等主流框架，能够快速搭建高并发、高性能的后端服务。</li>
            <li>人工智能 ：擅长 NLP、CV 等领域的算法实现，有多个项目经历，熟悉 Transformer、BERT、GPT 等经典模型。</li>
            <li>大模型 ：熟悉大模型的训练、微调及优化，能够使用 Hugging Face、LangChain 等工具进行模型开发。</li>
            <li>前后端协作 ：了解 Vue.js 前端框架，能够与前端团队高效协作，完成开发任务。</li>
            <li>其他 ：如java springboot git docker frp nginx等均掌握。</li>
          </ul>
        </section>

        <section class="experience">
          <h2>工作经历</h2>
          <div class="experience-item">
            <h3>nlp算法、大模型算法</h3>
            <p class="company">某某科技有限公司 | 2023 - 至今</p>
            <p>负责公司AI领域产品的设计和开发，推动大模型工程化应用，AI技术应用落地。</p>
          </div>
        </section>

        <section class="projects">
          <h2>个人项目</h2>
          <div class="project-grid">
            <div class="project-card">
              <h3>AI技术博客系统</h3>
              <p class="project-description">基于Vue3和Python的全栈博客系统，支持AI智能对话、文章管理等功能</p>
              <div class="tech-stack">
                <span class="tech-tag">Vue3</span>
                <span class="tech-tag">Python</span>
                <span class="tech-tag">SQLite</span>
              </div>
              <div class="project-links">
                <a href="https://github.com/yourusername/blog-system" target="_blank" class="project-link github">
                  <i class="fab fa-github"></i>
                  GitHub
                </a>
                <a href="https://gitee.com/appleyiyi/tanxi" target="_blank" class="project-link gitee">
                  Gitee
                </a>
              </div>
            </div>

            <div class="project-card">
              <h3>智能聊天助手</h3>
              <p class="project-description">基于大语言模型的智能对话系统，支持多轮对话和知识检索</p>
              <div class="tech-stack">
                <span class="tech-tag">Python</span>
                <span class="tech-tag">FastAPI</span>
                <span class="tech-tag">Vue</span>
              </div>
              <div class="project-links">
                <a href="https://github.com/yourusername/chat-assistant" target="_blank" class="project-link github">
                  <i class="fab fa-github"></i>
                  GitHub
                </a>
                <a href="https://gitee.com/appleyiyi/wx-chat-bot" target="_blank" class="project-link gitee">
                  Gitee
                </a>
              </div>
            </div>
          </div>
        </section>
      </div>
    </main>
  </div>
</template>

<style scoped>
.page-header {
  background: linear-gradient(120deg, rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.9)), url('@/assets/img/about-bg.jpg');
  background-blend-mode: overlay;
  color: white;
  padding: 4rem 0;
  text-align: center;
  margin-bottom: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 30px 30px;
  position: relative;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1,
.page-header p {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  mix-blend-mode: difference;
}

.profile-image-container {
  text-align: center;
  margin: -60px auto 2rem;
  max-width: 800px;
  padding: 0 1rem;
}

.profile-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 6px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background-color: white;
  transition: transform 0.3s ease;
}

.profile-image:hover {
  transform: scale(1.05);
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

section {
  margin-bottom: 3rem;
}

h2 {
  color: #2c3e50;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.profile p {
  line-height: 1.6;
  color: #444;
}

.skills ul {
  list-style: none;
  padding: 0;
}

.skills li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.skills li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2c3e50;
}

.experience-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.experience-item:hover {
  transform: translateY(-3px);
}

.experience-item h3 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.company {
  color: #666;
  font-style: italic;
  margin-bottom: 1rem;
}
.projects {
  margin-top: 3rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background-color: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.project-card h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.project-description {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  background-color: #f0f4f8;
  color: #3498db;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-link.github {
  background-color: #24292e;
  color: white;
}

.project-link.github:hover {
  background-color: #1a1e22;
  transform: translateY(-2px);
}

.project-link.gitee {
  background-color: #c71d23;
  color: white;
}

.project-link.gitee:hover {
  background-color: #a01419;
  transform: translateY(-2px);
}
</style>